package com.dongjiantong.biz.serviceImpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongjiantong.biz.mapper.EarMarkLifeMapper;
import com.dongjiantong.biz.model.EarMarkLife;
import com.dongjiantong.biz.service.EarMarkLifeReadeService;
import com.dongjiantong.mybatis.ServiceMybatis;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by ThinkPad on 2017/11/14.
 */
@Slf4j
@Service(version = "1.0.0")
public class EarMarkLifeReadeServiceImpl extends ServiceMybatis<EarMarkLife> implements EarMarkLifeReadeService {
    @Resource
    private EarMarkLifeMapper earMarkLifeMapper;

    /**
     * 耳标使用记录查询 根据具体的单据
     *
     * @return List<String>
     */
    @Override
    public List<String> findListByBreedReportId(Map<String , Object> map) {
        return earMarkLifeMapper.findListByBreedReportId(map);
    }
}
